import 'package:flutter_redis/pages/home_page.dart';
import 'package:flutter_redis/pages/redis_config_page.dart';
import 'package:flutter_redis/pages/redis_query_page.dart';
import 'package:flutter_redis/pages/redis_query_result_page.dart';
import 'package:flutter_redis/pages/theme_page.dart';
import 'package:get/get.dart';

class AppRoutes {
  static const home = '/';
  static const theme = '/theme';
  static const config = '/config';
  static const query = '/query';
  static const queryResult = '/queryResult';
}

final List<GetPage> appPages = [
  GetPage(name: AppRoutes.home, page: () => HomePage()),
  GetPage(name: AppRoutes.theme, page: () => ThemePage()),
  GetPage(name: AppRoutes.config, page: () => RedisConfigPage()),
  GetPage(name: AppRoutes.query, page: () => RedisQueryPage()),
  GetPage(name: AppRoutes.queryResult, page: () => RedisQueryResultPage()),
];
